import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'

import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
// import axios from 'axios'


Vue.config.productionTip = false

Vue.use(ElementUI);

// Vue.prototype.$axios = axios;    //axios挂载到Vue 实例的原型, 在组件中通过 this.$axios 访问

// axios.defaults.baseURL = 'http://localhost:1010/';    //axios 发送请求的基础 URL

// axios.defaults.baseURL = '/api';


new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
